ACFWF\Models\Store_Credits\Checkout S

Total Complexity 49
Dependencies 7
Dependents 1
Total lines 547
Lines of code 234
Logical lines of code 118
Comment lines 214
Methods 14
Properties 4

Methods 14

Method Rating Maintainability Complexity Lines of code
_redeem_store_credits()
S
46 6 41
ajax_redeem_store_credits()
S
51 7 23
display_store_credits_checkout_redeem_form()
S
51 5 29
display_order_review_store_credits_discount_total()
S
54 5 20
apply_store_credit_discount()
S
58 5 15
display_store_credits_discount_row()
S
51 3 28
_is_allow_store_credits()
S
60 4 13
deduct_store_credits_discount_from_balance()
S
50 3 27
get_cart_total_before_store_credit_discounts()
S
67 3 7
get_instance()
S
70 2 6
initialize()
S
70 2 6
run()
S
63 2 10
__construct()
S
70 1 6
_get_store_credits_endpoint()
S
79 1 3